const HTTP = require("./request");
const {url} = require("./config");

module.exports = {
    "getHomeBanner":()=>{
        return HTTP({
            // methods:"post",
            // data:{},
            url: url + '/api/public/v1/home/swiperdata',
        })
    },
   "getHomeGoods":()=>{
       return HTTP({
           url: url + "/api/public/v1/goods/search",
       })
   },
   "getGoodsDetail":(data)=>{
    return HTTP({
        url: url + "/api/public/v1/goods/detail",
        data,
    })
}
}